package com.ddx.dao;

import com.ddx.pojo.ShortVideoLike;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ShortVideoLikeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShortVideoLike record);

    int insertSelective(ShortVideoLike record);

    ShortVideoLike selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShortVideoLike record);

    int updateByPrimaryKey(ShortVideoLike record);

    List<ShortVideoLike> selectByRecord(ShortVideoLike record);

    int deleteByRecord(ShortVideoLike record);

    List<ShortVideoLike> selectNewsRecord(@Param("userId") Integer userId);
}